Conversation
|
First implementation PR for Sponge so if there is any PR standards then please comment below. As this PR itself, I couldn't think of a situation whereby a recipe wouldn't have a key, but as I don't play modded Minecraft and this is the first time looking at the minecraft code, I played it safe with a optional |
|
Recipes are part of registry so they follow the pattern where only the registry knows its key, not the item itself, so this is by design. The problem is that we are missing recipes from |
Thanks for the information. Ill change the implementation to just make it so you can call RegistryManager methods again without exception (the original point of me digging - just found that recipe had keys along the way) |
API | Impl
Adds key to recipe